package com.cos.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author lyc
 * @email 2102@qq.com
 * @date 2021-07-20 19:17:04
 */
@Data
@TableName("orders")
public class OrdersEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private String oid;
	/**
	 * 
	 */
	private Integer uid;
	/**
	 * 
	 */
	private BigDecimal toltalprice;
	/**
	 * 
	 */
	private String name;
	/**
	 * 
	 */
	private String address;
	/**
	 * 
	 */
	private String phone;
	/**
	 * 1:微信
	 * 2：支付宝
	 */
	private Integer payType;
	/**
	 *  1:未支付
	 *  2：已支付
	 *  3:已取消
	 *  4:已超时
	 *  5:发货
	 *  6:完成
	 *  7：退货
	 */
	private Integer status;
	/**
	 * 
	 */
	private Date createTime;

}
